<?php

namespace app\controller\admin;

use app\common\model\Config;
use EasyWeChat\MiniApp\Application;
use app\common\middleware\AutoResult;
use app\common\controller\JwtBaseController;

class AdminBaseController extends JwtBaseController {
    protected $key = 'e23ba49e-6a2a-4fb1-9204-f267d3471ae2';

    protected $middleware = [AutoResult::class];

    protected function getKey() {
        return env('ADMIN_KEY', $this->key);
    }
}